package ysq.xyg.service;

import com.github.pagehelper.PageInfo;
import ysq.xyg.model.Receiving;

/**
 * 收货管理
 *
 * @author congcong tao
 * @create 2018/8/9 下午10:35
 */
public interface ReceivingService extends  BaseService<Receiving> {

    /**
     * 分页查询
     */
    PageInfo<Receiving> pageInfo(Receiving receiving, int pageSize, int pageNum);

    /**
     * 根据主键查询
     */
    Receiving selectEntityById(String id);

    /**
     * 获取最新的一条中奖记录
     */
    Receiving selectLatelyEntity();
}
